# Example: Use a bar graph

In this example, the bar graph monitors the speed of a conveyor.

1. Create a bar graph and assign a tag to the Value connection.
2. Change the number of thresholds to 2.

The application reads the Value connection and updates the bar graph by filling the bar graph in the fill direction.

When the Value connection goes above the threshold 1 value, the fill color changes to the threshold 1 fill color.

When the Value connection goes above the threshold 2 value, the fill color changes to the threshold 2 fill color.

## See also

Create bar graphs

How the bar graph works at run time

Configure the bar graph

Set up controls for the bar graph